﻿using System;

namespace HomeTask1_2
{
    class Program
    {
        //static int myNumInt, myNumInt1, myNumInt2;

        // calculating with ckecking conditions
        static void Main(string[] args)
        {
            int myNumInt1, myNumInt2;


            Console.WriteLine("Enter first number:");
            myNumInt1 = ConsoleInput.ReadIntFromConsole();
            Console.WriteLine("Enter second number:");
            myNumInt2 = ConsoleInput.ReadIntFromConsole();

            Console.WriteLine("Success!");
            Console.WriteLine("The result of adding is: " + (myNumInt1 + myNumInt2));
            Console.WriteLine("The result of substracting is: " + (myNumInt1 - myNumInt2));
            Console.WriteLine("The result of multiplying is: " + (myNumInt1 * myNumInt2));
            Console.WriteLine("The result of dividing is: " + (myNumInt1 / myNumInt2));
            Console.ReadKey();
        }

     
    }
}